/* 全局样式 */
.App {
  text-align: center;
  padding: 20px;
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
  min-height: 100vh;
}

h1 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* 输入框样式 */
.text-input {
  width: 80%;
  max-width: 500px;
  height: 100px;
  padding: 10px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  margin-bottom: 20px;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s ease;
}

.text-input:focus {
  border-color: #007bff;
}

/* 生成按钮样式 */
.generate-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.generate-button:hover {
  background-color: #0056b3;
}

/* 句子样式 */
.sentence {
  font-size: 1.5rem;
  color: #333;
  margin: 20px 0;
}

.blank-word {
  font-weight: bold;
  color: #007bff;
}

/* 选项区域样式 */
.options {
  margin-top: 20px;
}

.options h3 {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 10px;
}

.option-button {
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  padding: 8px 16px;
  margin: 5px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.option-button:hover {
  background-color: #007bff;
  color: white;
  transform: scale(1.05);
}

/* 用户选择和消息样式 */
.user-choice {
  font-size: 1.2rem;
  color: #333;
  margin-top: 20px;
}

.message {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 10px;
}

/* 容器样式 */
.blank-container {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

/* 新增样式 */
.section {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 20px auto;
}

.section h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 15px;
}

/* 导航栏样式 */
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tabs button {
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #f1f1f1;
  transition: background-color 0.3s ease;
}

.tabs button.active {
  background-color: #007bff;
  color: white;
}

.tabs button:hover {
  background-color: #0056b3;
  color: white;
}

/* 其他样式保持不变 */